Director Article

Tweening FX with the Chrome Library Set of 3D Behaviors for Shockwave 3D


Table of Contents

  1. Introduction
  2. The Scene Fade Behavior with the goldfish_hq.w3d File
  3. The Light Color Tweening Behavior with the suv_ford_hq.W3D File
  4. The Emissive Color Tweening Behavior with the tortoise_hq.w3d File
  5. The Fog Tweening Behavior with the tyrannosaurus_rex_hq.w3d File

The Fog Tweening Behavior with the tyrannosaurus_rex_hq.w3d File

Next, you will apply a visual effect on the T-Rex model by changing the fog distance overtime.

  1. Create a new movie.
  2. Import the tyrannosaurus_rex_hq.w3d file into the internal cast.
  3. Drag and drop the T-Rex W3D sprite from the internal cast to the stage or to the score.

    T-Rex before applying the Fog Tweening behavior

    Figure 15. T-Rex before applying the Fog Tweening behavior

  4. Drag and drop the Fog Tweening behavior from the Chrome Library onto the T-Rex sprite.

    The Fog Tweening behavior

    Figure 16. The Fog Tweening behavior

    The following Fog Tweening Parameters dialog box appears.

    The Fog Tweening Parameters dialog box

    Figure 17. The Fog Tweening Parameters dialog box

  5. Check Fog Distance tweening at the bottom of the dialog box. Click OK.

    Press Play in the toolbar, select Control > Enter, or press the Enter key on the numeric keypad.

    The movie starts and the mist hides the T-Rex. Then, the fog becomes less thick over time and the dinosaur gradually appears.

    The realtime fog tweening animation playing.

    Figure 18. The real-time fog tweening animation playing.

    The T-Rex in the mist.

    Figure 19. The T-Rex in the mist.

The Chrome Library acts as a 3D timeline that allows you to blend shader properties, model transform, the field of view of the camera, the fog color, the fog distance, backdrops, overlays and many other aspects of a 3D scene.

Remember there are many tweening behaviors you can experiment with in the Chrome Library. You’re just a drag and drop away from achieving great looking effects! See some ready-made samples of the Chrome Lib set of 3D behaviors, including the T-Rex with the fog tweening distance FX, on the following page: http://membres.lycos.fr/karlsigiscar/shockwave3d/samples/

If you liked this article and want to learn more about the Chrome Library set of 3D behaviors, read my other article Chrome Library Set of 3D Behaviors for Shockwave 3D.